<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" th:href="@{../favicon.ico}">

    <title>修改密码</title>

    <!-- Bootstrap core CSS -->
    <link th:href="@{../css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{../css/dashboard.css}" rel="stylesheet">
</head>



<body>

<div th:replace="~{common/commons.html::top}"></div>

<div class="container-fluid" th:fragment="sider">
    <div class="row">

        <nav class="col-md-2 d-none d-md-block bg-light sidebar" th:fragment="side">
            <div class="sidebar-sticky">
                <ul class="nav flex-column">
                    <li class="nav-item">
                        <a th:class="${active == 'main.html'?'nav-link active':'nav-link'}" th:href="@{/main.html}">
                            <span data-feather="home"></span>
                            首页 <span class="sr-only">(current)</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" th:href="@{/per}" th:class="${active == 'personInfo.html'?'nav-link active':'nav-link'}">
                            <span data-feather="users"></span>
                            个人信息管理
                        </a>
                    </li>
                    <li class="nav-item">
                        <a th:class="${active == 'pwd.html'?'nav-link active':'nav-link'}" th:href="@{/updatePwd}">
                            <span data-feather="layers"></span>
                            修改密码
                        </a>
                    </li>
                </ul>


            </div>
        </nav>


        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <h2>欢迎使用员工管理系统</h2>

        </main>
        </div>
    </div>
    <div class="row">

        <div class="container-fluid" th:fragment="sider">
            <div class="row">

                <nav class="col-md-2 d-none d-md-block bg-light sidebar" th:fragment="side">
                    <div class="sidebar-sticky">
                        <ul class="nav flex-column">
                            <li class="nav-item">
                                <a th:class="${active == 'main.html'?'nav-link active':'nav-link'}" th:href="@{/main.html}">
                                    <span data-feather="home"></span>
                                    首页 <span class="sr-only">(current)</span>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="emp/personInfo.html">
                                    <span data-feather="users"></span>
                                    个人信息管理
                                </a>
                            </li>
                            <li class="nav-item">
                                <a th:class="${active == 'Updatepwd.html'?'nav-link active':'nav-link'}" th:href="@{/updatePwd}">
                                    <span data-feather="layers"></span>
                                    修改密码
                                </a>
                            </li>
                        </ul>


                    </div>
                </nav>
            </div>
        </div>
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">

            <h2>修改密码</h2>
            <form th:action="@{/updatepwd}" method="post">
                    <input type="hidden" class="form-control" name="s_id">
                <div class="form-group">
                    <label>原始密码</label>
                    <input type="text" class="form-control" name="pwd_old">
                </div>
<!--                <div class="form-group">-->
<!--                    <label>再输入一遍</label>-->
<!--                    <input type="text" class="form-control" name="pwd_old2">-->
<!--                </div>-->
                <div class="form-group">
                    <label>新密码</label>
                    <input type="text" class="form-control" name="pwd_new">
                </div>
                <button type="submit" class="btn btn-primary" id="submit">添加</button>
            </form>
        </main>

    </div>
</div>

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="/js/jquery-slim.min.js"><\/script>')</script>
<script src="/js/popper.min.js"></script>
<script src="/js/bootstrap.min.js"></script>

<!-- Icons -->
<script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
<script>
    feather.replace()
</script>

</body>
</html>
